﻿using DTO.Authorization;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;

namespace DAO.IAuthorizationDAO
{
     interface IUserTypeDAO
    {
         bool Insert(UserTypeDTO userType);
         bool DeleteById(String userTypeId);
         bool DeleteByName(String userTypeName);
         bool UpdateById(UserTypeDTO newUserType);
         DataTable GetAll();
         DataTable GetByName(String userTypeName);
         DataTable GetById(String uerTypeId); 
    }
}
